package com.webdev.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.webdev.base.pojo.Goods;
import com.webdev.base.vo.GoodsVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author huangningshuang
 * @since 2021-12-13
 */
public interface GoodsMapper extends BaseMapper<Goods> {

    List<GoodsVo> findGoodsVoList();

    GoodsVo findGoodsVoByGoodId(Integer goodsId);

    Integer deleteGoodsById(Integer goodsId);

    void insertGoods(GoodsVo goods);

    Integer updateById(GoodsVo goodsVo);
}
